package com.livepan.main.controller.viewobject;

public class SubmissionVO {
    private Integer runId;

    private String submitTime;

    private Byte result;

    private Integer problemId;

    private Integer contestId;

    private String userId;

    private Integer timeused;

    private Integer memoryused;

    private Integer length;

    private Short language;

    private String sourcecode;

    private String ext;

    private Integer score;

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getSourcecode() {
        return sourcecode;
    }

    public void setSourcecode(String sourcecode) {
        this.sourcecode = sourcecode == null ? null : sourcecode.trim();
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext == null ? null : ext.trim();
    }

    public Integer getRunId() {
        return runId;
    }

    public void setRunId(Integer runId) {
        this.runId = runId;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime == null ? null : submitTime.trim();
    }

    public Byte getResult() {
        return result;
    }

    public void setResult(Byte result) {
        this.result = result;
    }

    public Integer getProblemId() {
        return problemId;
    }

    public void setProblemId(Integer problemId) {
        this.problemId = problemId;
    }

    public Integer getContestId() {
        return contestId;
    }

    public void setContestId(Integer contestId) {
        this.contestId = contestId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId ;
    }

    public Integer getTimeused() {
        return timeused;
    }

    public void setTimeused(Integer timeused) {
        this.timeused = timeused;
    }

    public Integer getMemoryused() {
        return memoryused;
    }

    public void setMemoryused(Integer memoryused) {
        this.memoryused = memoryused;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Short getLanguage() {
        return language;
    }

    public void setLanguage(Short language) {
        this.language = language;
    }
}
